package com.youlai.boot.factory.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.factory.model.entity.Process;
import com.youlai.boot.factory.model.form.ProcessForm;

/**
 * 工序基础信息对象转换器
 *
 * @author youlaitech
 * @since 2025-10-01 05:02
 */
@Mapper(componentModel = "spring")
public interface ProcessConverter{

    ProcessForm toForm(Process entity);

    Process toEntity(ProcessForm formData);
}